package com.event.mapper;

import com.event.pojo.StudySrc;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 学习资料模块 Mapper 接口
 * </p>
 *
 * @author 孤雏
 * @since 2021-12-31
 */
@Mapper
@Repository
public interface StudySrcMapper extends BaseMapper<StudySrc> {
    List<StudySrc> selectStudySrc(StudySrc studySrc);

    int updateStudySrc(StudySrc studySrc);

    List<StudySrc> selectStudySrcByName(@Param("srcName") String srcName);
}
